﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_SalePay_Detail.cs
// 创建时间：2016/12/18
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///销售结算单详情(ERP_SalePay_Detail)数据实体
	/// </summary>
	[Serializable]
	public class ERP_SalePay_Detail
	{
		#region 变量定义
		
		///<summary>
		///明细号
		///</summary>
		private int _detailId;
		
		///<summary>
		///结算单Id
		///</summary>
		private int _payId;
		
		///<summary>
		///商品名
		///</summary>
		private string _cusCargoName = String.Empty;
		
		///<summary>
		///规格
		///</summary>
		private string _cusSpec = String.Empty;
		
		///<summary>
		///型号
		///</summary>
		private string _cusVersion = String.Empty;
		
		///<summary>
		///产地
		///</summary>
		private string _cusArea = String.Empty;
		
		///<summary>
		///生产厂家
		///</summary>
		private string _cusProduceName = String.Empty;
		
		///<summary>
		///客户关键码
		///</summary>
		private string _sos_No = String.Empty;
		
		///<summary>
		///数量
		///</summary>
		private int _count;
		
		///<summary>
		///
		///</summary>
		private string _batchNo = String.Empty;
		#endregion
		
		#region 构造函数

		///<summary>
		///销售结算单详情的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_SalePay_Detail()
		{
 
		}
		///<summary>
		///销售结算单详情
		///</summary>
		public ERP_SalePay_Detail
		(
			int detailId,
			int payId,
			string cusCargoName,
			string cusSpec,
			string cusVersion,
			string cusArea,
			string cusProduceName,
			string sos_No,
			int count,
			string batchNo
		)
		{
			_detailId       = detailId;
			_payId          = payId;
			_cusCargoName   = cusCargoName;
			_cusSpec        = cusSpec;
			_cusVersion     = cusVersion;
			_cusArea        = cusArea;
			_cusProduceName = cusProduceName;
			_sos_No         = sos_No;
			_count          = count;
			_batchNo        = batchNo;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///明细号
		///</summary>
		public int DetailId
		{
			get {return _detailId;}
			set {_detailId = value;}
		}

		
		///<summary>
		///结算单Id
		///</summary>
		public int PayId
		{
			get {return _payId;}
			set {_payId = value;}
		}

		
		///<summary>
		///商品名
		///</summary>
		public string CusCargoName
		{
			get {return _cusCargoName;}
			set {_cusCargoName = value;}
		}

		
		///<summary>
		///规格
		///</summary>
		public string CusSpec
		{
			get {return _cusSpec;}
			set {_cusSpec = value;}
		}

		
		///<summary>
		///型号
		///</summary>
		public string CusVersion
		{
			get {return _cusVersion;}
			set {_cusVersion = value;}
		}

		
		///<summary>
		///产地
		///</summary>
		public string CusArea
		{
			get {return _cusArea;}
			set {_cusArea = value;}
		}

		
		///<summary>
		///生产厂家
		///</summary>
		public string CusProduceName
		{
			get {return _cusProduceName;}
			set {_cusProduceName = value;}
		}

		
		///<summary>
		///客户关键码
		///</summary>
		public string Sos_No
		{
			get {return _sos_No;}
			set {_sos_No = value;}
		}

		
		///<summary>
		///数量
		///</summary>
		public int Count
		{
			get {return _count;}
			set {_count = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string BatchNo
		{
			get {return _batchNo;}
			set {_batchNo = value;}
		}
	
		#endregion
		
	}
}